/*
 * @Author: your name
 * @Date: 2021-01-06 14:08:01
 * @LastEditTime: 2021-01-16 22:03:21
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \express-seed\routes\home.js
 */

const express = require('express');
const router = express.Router();
// const {jwtAuth , tokenLoseCatch} = require('../../utils/jwt')//校验token
const path = require('path')
// 对/admin下所有路由进行 jwt 认证
// router.use('/',jwtAuth,tokenLoseCatch)
router.get('/', (req, res, next) => {
  // res.render(path.resolve(__dirname,'../../views/web/index.html'));
  res.send('web路由')
});

module.exports = router;